package org.yejiali.service.impl;

import org.springframework.stereotype.Service;
import org.yejiali.service.MessageService;
import org.yejiali.service.OrderService;

/**
 * @Author:yejiali
 * @Date:2025/4/7-04-07-14:37
 * @Decsription:org.yejiali.service.impl
 * @Version:1.0
 */
@Service
public class OrderServiceImpl implements OrderService {
    MessageService messageService;
    @Override
    public void order(String message) {
        //一系列操作，处理前面的业务
        System.out.println("订单处理开始");
        //短信消息处理
        messageService.sendMessage(message);
        System.out.println("订单处理完成");

    }
}
